<html>
<head><meta charset="utf-8"><title>rustup component add miri failing · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html">rustup component add miri failing</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="162137391"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162137391" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> timotree <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162137391">(Mar 30 2019 at 20:22)</a>:</h4>
<p>On the <a href="https://github.com/rust-lang/miri/blob/1100b4819c64d2554e2bff0ac3bd505ff44809bb/README.md" target="_blank" title="https://github.com/rust-lang/miri/blob/1100b4819c64d2554e2bff0ac3bd505ff44809bb/README.md">README for miri</a> it says to install using <code>rustup component add miri</code>.  I tried this command with the latest nightly toolchain (<code>1.35.0-nightly (e782d790f 2019-03-29)</code>) as well as the latest stable and in both I get the error:</p>
<div class="codehilite"><pre><span></span>error: component &#39;miri&#39; for target &#39;x86_64-unknown-linux-gnu&#39; is unavailable for download for channel &#39;&lt;nightly|stable&gt;&#39;
</pre></div>


<p>Is the instruction in the README out of date?</p>



<a name="162139413"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162139413" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162139413">(Mar 30 2019 at 21:18)</a>:</h4>
<p><span class="user-mention" data-user-id="210035">@timotree</span>  <code>rustup component add miri-preview</code></p>



<a name="162139487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162139487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> timotree <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162139487">(Mar 30 2019 at 21:20)</a>:</h4>
<p>Hmmm. That doesn't work either. <span class="user-mention" data-user-id="126931">@centril</span> </p>
<div class="codehilite"><pre><span></span>$ rustup component add --toolchain nightly miri-preview
error: component &#39;miri&#39; for target &#39;x86_64-unknown-linux-gnu&#39; is unavailable for download for channel &#39;nightly&#39;
$ rustup component add --toolchain stable miri-preview
error: toolchain &#39;stable-x86_64-unknown-linux-gnu&#39; does not contain component &#39;miri-preview&#39; for target &#39;x86_64-unknown-linux-gnu&#39;
</pre></div>



<a name="162139500"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162139500" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162139500">(Mar 30 2019 at 21:21)</a>:</h4>
<p><span class="user-mention" data-user-id="210035">@timotree</span> well miri is broken in the toolstate, <a href="https://rust-lang-nursery.github.io/rust-toolstate/" target="_blank" title="https://rust-lang-nursery.github.io/rust-toolstate/">https://rust-lang-nursery.github.io/rust-toolstate/</a></p>



<a name="162140110"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162140110" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> timotree <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162140110">(Mar 30 2019 at 21:39)</a>:</h4>
<p>@centril okay, thanks for the response! I'll make a PR to miri that updates the readme to suggest the old approach if miri is broken in the toolstate</p>



<a name="162177221"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162177221" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jake Goulding <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162177221">(Mar 31 2019 at 14:28)</a>:</h4>
<blockquote>
<p>if miri is broken </p>
</blockquote>
<p>That might actually mean that you can't build that version of Miri with that version of Rust, due to breaking API changes</p>



<a name="162212052"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/rustup%20component%20add%20miri%20failing/near/162212052" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Winton Mejia <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/rustup.20component.20add.20miri.20failing.html#162212052">(Apr 01 2019 at 06:09)</a>:</h4>
<p>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>